package com.example.yuejian23.yuejian_23.service;

import com.example.yuejian23.yuejian_23.javaBean.PeixunBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by dong on 2017/10/13.
 */

public interface PeixunService {
    @GET("Training/traininglist")
    Call<List<PeixunBean>> getList();

    @GET("Training/trainingdetil")
    Call<PeixunBean> getxiang(
            @Query("ccid") String ccid
    );

    @GET("Search/searchlist")
    Call<List<PeixunBean>> sou(
            @Query("keyword") String keyword
    );
}
